        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="padding-top:8px;padding-bottom:6px;">
            <span class="">{d.user.username}</span>
            <span class="">
              <img src="{d.user.avatar}" alt="Mika Sokeil" class="img-circle" style="width:36px;height:36px;" />
            </span>
            <b class="caret"></b>
          </a>
          <ul class="dropdown-menu">
            <li><a class="profile-modal">个人资料</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li><a href="/logout">logout</a></li>
          </ul>
        </li>
